package com.itheima.service.mongo;

import com.itheima.domain.mongo.Movement;
import com.itheima.domain.vo.PageBeanVo;

import java.util.Map;

public interface MovementService {
    void save(Movement movement);

    void update(Movement movement);

    PageBeanVo findAllMovements(Integer pageNum, Integer pagesize, Long userId);

    PageBeanVo friendMovement(Integer pageNum, Integer pageSize, Long loginUserId);

    PageBeanVo recommendMovement(Integer pageNum, Integer pageSize, Long userId);

    Movement findMovement(String movementId);

    PageBeanVo findMovementByCommentType(Integer page, Integer pageSize, Integer commentType,Long userId);

    PageBeanVo findMovementByUidAndState(Integer page, Integer pageSize, Long uid, Integer state);

    Map rejectUpdateMovement(String[] movementIds);

    Map passUpdateMovement(String[] movementIds);
}
